import request from "@/axios/request";
import url from "@/axios/url";
const { mesUrl } = url();

// 分页查询
export function getList (params = {}) {
  return request({
    url: `${mesUrl}mesCabinetBox`,
    method: "get",
    params,
  });
}

// 修改
export function rowUpdate (data = {}) {
  return request({
    url: `${mesUrl}mesCabinetBox`,
    method: "put",
    data,
  });
}
// 详情
export function rowDetail (id) {
  return request({
    url: `${mesUrl}mesCabinetBox/info/${id}`,
    method: "get",
  });
}
